package com.xxxx.domain;

public class Course {
    private Integer cno;
    private String cname;
    private Integer classHour;

    public Course() {
    }

    public Course(Integer cno, String cname, Integer classHour) {
        this.cno = cno;
        this.cname = cname;
        this.classHour = classHour;
    }

    @Override
    public String toString() {
        return "Course{" +
                "cno=" + cno +
                ", cname='" + cname + '\'' +
                ", classHour='" + classHour + '\'' +
                '}';
    }

    public Integer getCno() {
        return cno;
    }

    public void setCno(Integer cno) {
        this.cno = cno;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Integer getClassHour() {
        return classHour;
    }

    public void setClassHour(Integer classHour) {
        this.classHour = classHour;
    }
}
